package com.atguigu.springcloud.entities;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @Auther:
 * @Description:
 * @Date: 2019/11/19 14:12
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)  //chain的中文含义是链式的，设置为true，则setter方法返回当前对象
public class Dept implements Serializable {
    private Long deptno;
    private String dname;
    private String db_source;//来自那个数据库

}
